<?php
if($_GET[action]==1){$action=1;}elseif($_GET[action]==2){$action=2;}elseif($_GET[action]==3){$action=3;}
include_once('conn.php');
$fp = fsockopen ($host, 80, $errno, $errstr, 30);

if (!$fp)
{
die('fate');
}
else
{
fwrite($fp, "GET $url HTTP/1.0\r\nHost: $host\r\n\r\n");
$line = '';
while ($line = fread($fp, 2048))
{
$content .= $line;
}
$value=explode('UTF-8',$content);

echo $value[1];

fclose ($fp);
}


